#include "data_struct.h"
#include "pack.h"

#include "libcli.h"

void InitOTA();
bool loadOTAFile(struct cli_def *cli, const char* firmwareFile);

// bool loadFirmware();
bool GetFirmwareInfo(FIRMWARE_INFO* info);
bool FinishOTA();

bool OTAStop();
bool GetOTAStatus(time_t*  t, uint32_t* pos, uint16_t* per);

